package cn.iocoder.yudao.module.jky.convert.goodscat;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.jky.controller.admin.goodscat.vo.*;
import cn.iocoder.yudao.module.jky.dal.dataobject.goodscat.GoodsCatDO;

/**
 * 商品分类 Convert
 *
 * @author 超级管理员
 */
@Mapper
public interface GoodsCatConvert {

    GoodsCatConvert INSTANCE = Mappers.getMapper(GoodsCatConvert.class);

    GoodsCatDO convert(GoodsCatUpdateStateReqVO goodsCatUpdateStateReqVO);

    GoodsCatDO convert(GoodsCatCreateReqVO bean);

    GoodsCatDO convert(GoodsCatUpdateReqVO bean);

    GoodsCatRespVO convert(GoodsCatDO bean);

    List<GoodsCatRespVO> convertList(List<GoodsCatDO> list);

    PageResult<GoodsCatRespVO> convertPage(PageResult<GoodsCatDO> page);

    List<GoodsCatExcelVO> convertList02(List<GoodsCatDO> list);

}
